import java.util.Scanner;

public class Bumen {
    public static void main(String[] args) {
        Scanner scl=new Scanner(System.in);
        System.out.println("请输入新员工名字");
        String name=scl.next();

        System.out.println("请输入新员工应聘的部门");
        String gm=scl.next();
        switch (gm){
            case "Java" :
            case "java":
                System.out.println(name+"被分配到Java部门");
                break;

            case "C#" :
            case "c#":
                System.out.println(name+"被分配到C#部门");
                break;

            case "asp.net" :
                System.out.println(name+"被分配到asp.net部门");
                break;

            case "前端":
                System.out.println(name+"被分配到前端部门");
                break;
            case "3":
                System.out.println(name+"被分配到黑砖窑打工");
                break;
        }
    }
}
